package com.atguigu.gulimall.product.dao;

import com.atguigu.gulimall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 *
 * @author zr
 * @email zr@gmail.com
 * @date 2022-08-25 21:07:03
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {
    /** 过滤可被检索的id
     * @param attrIds
     * @return
     */
    List<Long> selectSearchAttrIds(@Param("attrIds") List<Long> attrIds);

}
